package com.gdkj.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Table(name = "cmf_promotion_channel_overview")
public class CmfPromotionChannelOverview {

    @ApiModelProperty(value = "主键id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "日期")
    private LocalDate day;

    @ApiModelProperty(value = "渠道id")
    private Integer channelId;

    @ApiModelProperty(value = "每日注册人数")
    private Integer registerAmount;

    @ApiModelProperty(value = "每日游玩人数")
    private Integer playAmount;

    @ApiModelProperty(value = "每日充值人数")
    private Integer rechargeAmount;

    @ApiModelProperty(value = "每日充值金额")
    private BigDecimal rechargeMoneyTotal;

    @ApiModelProperty(value = "7日累计充值")
    private BigDecimal sevenDayRechargeTotal;

    @ApiModelProperty(value = "30日累计充值")
    private BigDecimal thirtyDayRechargeTotal;

    @ApiModelProperty(value = "所有累计充值")
    private BigDecimal allRechargeTotal;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
